home *** CD-ROM | disk | FTP | other *** search
/ Holt Researcher: American History / Holt Researcher: American History.iso / pc / modules / tour.dxr / 00439.ls < prev    next >
Encoding:
Text File  |  2000-01-21  |  632 b   |  23 lines

  1. on exitFrame
  2.   global gMenuList, gMenuButton, gMenuExit, gTourForwardArrow, gTourBackArrow, whereTo
  3.   set the puppet of sprite 4 to 1
  4.   if sprite(4).movieTime < member(the member of sprite 4).duration then
  5.     whereTo = "here"
  6.   else
  7.     sprite(4).movieRate = 0
  8.     whereTo = "forward"
  9.   end if
  10.   repeat with rc in [gMenuButton, gMenuExit, gTourForwardArrow]
  11.     doRollover(rc)
  12.   end repeat
  13.   if whereTo = "here" then
  14.     go(the frame)
  15.   else
  16.     set the puppet of sprite 4 to 1
  17.     sprite(4).movieRate = 0
  18.     set the puppet of sprite 4 to 0
  19.     isMemoryAvailable("continue the tour", 1200, 500)
  20.     go(the frame + 1)
  21.   end if
  22. end
  23.